

var routes = [
    {
        path: "/",name:"indexlink", component: Index,redirect: "/find",
        children: [
            {path: "/find",name:"findlink", component: Find},
            {path: "/nearby",name:"nearbylink", component: Nearby},
            {path: "/attention",name:"attentionlink", component: Attention,
            },
        ]
    },
    {path: "/release",name:"releaselink", component: Release},
    {path: "/my",name:"mylink",component: Mypage},
    {path: "/attention/details", component: AttentionDetails},
    {path: "/index/search", component: SearchPage},
    {path: "/details", component: FindDetails},
    {path: "/searchpage", component: SearchPage},
    {path: "/notification", component: Notification},
    {path: "/notice", component: NoticeChild},
    {path: "/edit", component: Edit},
    {path: "/system", component: System},

    {path: "*", redirect: "/"},
]
var router = new VueRouter({
    routes
})

